package com.campus.counseling.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.campus.counseling.entity.SysArticle;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SysArticleMapper extends BaseMapper<SysArticle> {
    
    @Select("SELECT MAX(order_num) FROM sys_article")
    Integer selectMaxOrderNum();
    
} 